package shisheng;

import leave.LeaveStudent;
import leave.StudentList;
import retu.IOperation;

public abstract class Common {
    private String name;

    public  Common(String name) {
        this.name = name;
    }

    protected IOperation[] iOperations;

    public abstract int menu();


    public void work(int pos, StudentList studentList) {
        iOperations[pos].work(studentList);
    }
}
